A Type System for CHR
نویسندگان
چکیده
We propose a generic type system for the Constraint Handling Rules (CHR), a rewriting rule language for implementing constraint solvers. CHR being a high-level extension of a host language, such as Prolog or Java, this type system is parameterized by the type system of the host language. We show the consistency of the type system for CHR w.r.t. its operational semantics. We also study the case when the host language is a constraint logic programming language, typed with the prescriptive type system we developed in previous work. In particular, we show the consistency of the resulting type system w.r.t. the extended execution model CLP+CHR. This system is implemented through an extension of our type checker TCLP for constraint logic languages. We report on experimental results about the type-checking of twelve CHR solvers and programs, including TCLP itself.
منابع مشابه
Assessing the sustainability of the pension system Case study: Social Security Organization
Introduction: Iranchr(chr(chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))39chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39'))))39chr(chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))39chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))))s social insurance system including 18 pension funds, which are part of the social protection system, covering about 68% of the wo...
متن کاملAssessing the sustainability of the pension system Case study: Social Security Organization
Introduction: Iranchr(chr(chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))39chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39'))))39chr(chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))39chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))))s social insurance system including 18 pension funds, which are part of the social protection system, covering about 68% of the wo...
متن کاملPrioritizing the Impacts of Drought on Economic, Social and Environmental Dimensions in Urban and Rural Areas (Case Study of Yazd Province)
Introduction Iran is seriously suffering from economic and social drought. Theoretically, this problem can be resolved by rebalancing the supply and demand of water through the development of supplied water resources and implementing serious water demand reduction programs. However, the current structure of Iranchr(chr(chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))39chr(chr(chr('39...
متن کاملdesigning a health system performance management model for iran
Introduction The performance management is very important in order to reach the outcomes and outcomes expected from public organizations as well as to meet the public and public stakeholders in the face of the costs of public resources, and on this basis, this research deals with the formulation of performance management patterns in health and health systems method of work: this study is practi...
متن کاملSociological explanation of the participatory action of health system donors
Sociological explanation of the participatory action of donors in the health system Background: One of the important elements in good governance is the increase of peoplechr(chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39')))39chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39'))))s participation in the management of societychr(chr(chr(chr('39')39chr('39'))39chr(chr('39')39chr('39'))...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005